package day08test;

public class CarTest {
    public static void main(String[] args) {
        Car c1 = new Car("奔驰","红色","14000");
        Car c2 = new Car("奥迪","黑色","130000");
        Car c3 = new Car("特斯拉","白色","120000");
        c1.start();
        c1.run();
        c1.stop();

        c2.start();
        c2.run();
        c2.stop();

        c3.start();
        c3.run();
        c3.stop();

    }
}
